import java.util.concurrent.ConcurrentHashMap;

public class Test {
    private static final ConcurrentHashMap<Long, Long> userIdExpiryMap  = new ConcurrentHashMap<>();

    public static void main(String[] args) {
        Long key = 123L;
        Long value = System.currentTimeMillis();

        userIdExpiryMap.put(key, value);
        System.out.println("PUT: " + key + " -> " + value);

        Long retrievedValue = userIdExpiryMap.get(key);
        System.out.println("GET: " + key + " -> " + retrievedValue);

        // 检查 Map 内容
        System.out.println("Map contents: " + userIdExpiryMap);
    }
}
